#ifndef __OC_FrameBuffer_H__
#define __OC_FrameBuffer_H__

#include "shaderClass.h"

namespace OCPP
{
	class _openGLExport FrameBuffer
	{
	public:
		FrameBuffer(int width, int height);
		~FrameBuffer();
		void bind();
		void unbind();

		void draw();
	private:
		uint32 width, height;
		uint32 framebufferTexture, postProcessingTexture;
		uint32 rectVAO;
		uint32	ID, postProcessingFBO;
		Shader framebufferProgram;
	};
}

#endif // !__OC_WINDOW_H__
